package logic.user;

import java.net.URI;
import java.net.URISyntaxException;

import logic.user.callback.NAVCallback;
import core.lib.common.model.CoreRequest;
import core.lib.common.utility.CoreLog;

public class UserLogicConstructor
{
	public static CoreRequest SVC_NAV(NAVCallback navCallback)
	{
		URI targetURI = null;
		try
		{
			targetURI = new URI("weaver://logic/user/nav");
	
		}
		catch (URISyntaxException e)
		{
			if (CoreLog.LOG_ENABLED)
			{
				CoreLog.log(UserLogicConstructor.class.getName(), null, e);
			}
			
			throw new IllegalArgumentException();
		}
		
		CoreRequest req = new CoreRequest(targetURI, null);
		return req;
	}
}
